﻿//===============================================================================
// Copyright (C) 2007-2010  HARBORHOUSEHOME   
// ALL RIGHTS RESERVED
//===============================================================================
// FILENAME : TradeGetRequest
// DESCRIPTION :
// CREATED BY FETY AT   2010-5-14 14:26:21
//===============================================================================

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

/// <summary>
///TradeGetRequest 的摘要说明
/// </summary>
namespace TaobaoAPI.Request
{
    public class TradeGetRequest : BaseRequest
    {
        //需要返回的字段。目前支持有：seller_nick, buyer_nick, title, type, created, iid, price, pic_path, num
        private string fileds = "seller_nick, buyer_nick, title, type, created, iid, price, pic_path, num";
        private string iid;//商品的字符串编号
        private string seller_nick;	//卖家昵称
        private string type;//交易类型列表，同时查询多种交易类型可用逗号分隔。默认同时查询guarantee_trade, auto_delivery, ec, cod的4种交易类型的数据
        private int page_no;//页码。取值范围:大于零的整数; 默认值:1
        private int page_size;//每页条数。取值范围:大于零的整数; 默认值:40;最大值:100

        public TradeGetRequest(string appkey, string appsecret) : base(appkey, appsecret) { }
        public override string GetApiName
        {
            get
            {
                return "taobao.trades.get";
            }
        }

        public override void DoPost()
        {

        }
    }
}
